#include "productsdialog.h"
#include "ui_productsdialog.h"

ProductsDialog::ProductsDialog(QStandardItemModel *__mainModel, QWidget *parent) :
    QDialog(parent),
    ui(new Ui::ProductsDialog)
{
    ui->setupUi(this);
    mainModel = __mainModel;
    model = new QStandardItemModel(mainModel);
}

ProductsDialog::~ProductsDialog()
{
    delete ui;
}

void ProductsDialog::on_AddProduct_clicked()
{

}

void ProductsDialog::on_InsertProduct_clicked()
{

}

void ProductsDialog::on_RemoveProduct_clicked()
{

}

void ProductsDialog::on_closeProducts_clicked()
{

}

void ProductsDialog::on_SaveProducts_clicked()
{

}

void ProductsDialog::on_CanceProducts_clicked()
{

}
